xenpaging: use guests tot_pages as working target
authorOlaf Hering <olaf@aepfle.de>
Sun, 20 Nov 2011 16:02:45 +0000 (17:02 +0100)
committerOlaf Hering <olaf@aepfle.de>
Sun, 20 Nov 2011 16:02:45 +0000 (17:02 +0100)
commitf994788c5e4cd25e5b67b93a6a9c68491082277f
treefbf6a0bced819d76517356d550ac0eab06b4c718
parent8a8d8fc344416a6ddb6472906ecebbeaafab6d2f
xenpaging: use guests tot_pages as working target

This change reverses the task of xenpaging. Before this change a fixed number
of pages was paged out. With this change the guest will not have access to
more than the given number of pages at the same time.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/xenpaging/policy_default.c
tools/xenpaging/xenpaging.c
tools/xenpaging/xenpaging.h